Problem Note 33321: Using special missing values with the FORMAT procedure causes a syntax error
When you use special missing values at the beginning of a VALUE statement within PROC FORMAT, SAS generates a syntax error. This issue has been seen when running SAS® 9.2 only on Windows XP. The following code causes a syntax error:
Libname L "C:\";
proc format library=L;
value FNine
.Z = ".Z"
.M = ".M"
. = "."
-999 = "-999"
-9999 = "-9999"
-99999= "-99999"
999 = "999"
9999 = "9999"
99999= "99999"
other = "Other"
;
run;
To work around this issue, specify the special missing values at the end of the VALUE statement, as in the following example:
Libname L "C:\";
proc format library=L;
value FNine
-999 = "-999"
-9999 = "-9999"
-99999= "-99999"
999 = "999"
9999 = "9999"
99999= "99999"
other = "Other"
.Z = ".Z"
.M = ".M"
. = "."
;
run;
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows XP Professional | 9.2 TS1M0 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Using special missing values at the beginning of a VALUE statement in PROC FORMAT causes a syntax error. If the special missing values are not specified as the first values no syntax error is generated.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2008-09-29 12:58:24 |
Date Created: | 2008-09-16 15:59:20 |